package com.gm.springboot.bean;

import java.util.Date;

/**
 * @Author Administrator
 * @Date 2020/7/2 15:41
 **/
public class Student {
    private int sid;
    private String sname;
    private String sphone;
    private String sbirth;

    public Student() {
    }

    public Student(int sid, String sname, String sphone, String sbirth) {
        this.sid = sid;
        this.sname = sname;
        this.sphone = sphone;
        this.sbirth = sbirth;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSphone() {
        return sphone;
    }

    public void setSphone(String sphone) {
        this.sphone = sphone;
    }

    public String getSbirth() {
        return sbirth;
    }

    public void setSbirth(String sbirth) {
        this.sbirth = sbirth;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", sname='" + sname + '\'' +
                ", sphone='" + sphone + '\'' +
                ", sbirth='" + sbirth + '\'' +
                '}';
    }
}
